package com.exam.service;

import com.exam.entity.Admin;
import com.baomidou.mybatisplus.extension.service.IService;
import com.exam.entity.AdminLoginParam;
import com.exam.util.RespBean;

import javax.servlet.http.HttpServletRequest;

/**
 * <p>
 * 管理员信息表 服务类
 * </p>
 *
 * @author zyh
 * @since 2023-03-09
 */
public interface IAdminService extends IService<Admin> {

    RespBean login(String adminId,String pwd,String code, HttpServletRequest request);

    Admin getAdminByUserName(String adminId);

    RespBean upadteAdminPwd(String pwd,String xpwd,String adminId);
}
